package com.block.db.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.block.db.entity.MimiUserBaseInfo;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author
 * @since 2023-08-05
 */
public interface MiniUserBaseInfoMapper extends BaseMapper<MimiUserBaseInfo> {


    MimiUserBaseInfo selectByOpenId(@Param("openId")String openId);

    MimiUserBaseInfo selectByOpenIdAndMobile(@Param("openId")String openId, @Param("mobile")String mobile);

    int updateByOpenId(MimiUserBaseInfo mimiUserBaseInfo);
}
